/*
 * 易族智汇（北京）科技有限公司 版权所有。
 * 未经许可，您不得使用此文件。
 * 官方地址：www.javamall.com.cn
 */
package com.enation.app.javashop.core.client.feignimpl.member;

import com.enation.app.javashop.client.member.ShopNoticeLogClient;
import com.enation.app.javashop.core.client.fallback.member.ShopNoticeLogClientFallbackFactory;
import com.enation.app.javashop.core.handler.FeignConfiguration;
import com.enation.app.javashop.model.shop.dos.ShopNoticeLogDO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author fk
 * @version v2.0
 * @Description: 店铺消息模板
 * @date 2018/8/14 10:21
 * @since v7.0.0
 */
@FeignClient(name = "member-service", fallbackFactory = ShopNoticeLogClientFallbackFactory.class,configuration = {FeignConfiguration.class})
public interface ShopNoticeLogClientFeignImpl extends ShopNoticeLogClient {

    /**
     * 添加店铺站内消息
     *
     * @param shopNoticeLog 店铺站内消息
     * @return ShopNoticeLog 店铺站内消息
     */
    @Override
    @RequestMapping(value = "/client/shop-notice-log", method = RequestMethod.POST)
    ShopNoticeLogDO add(@RequestBody ShopNoticeLogDO shopNoticeLog);
}
